import request from '@/http/request'
// 机构员工列表
export const $apiAgentEmployeeList = ( data) => {
  return request.request({ url: '/api/agent/employee/list', method: 'POST', data: data }, true, true, false)
}


// 导入机构员工
export const $apiAgentEmployeeAddBatch = (data) => {
  return request.request({ url: '/api/agent/employee/addBatch', method: 'POST', data: data }, true, true, false)
}
// 导出机构员工
export const $apiAgentEmployeeExport = (data) => {
  return request.request({ url: '/api/agent/employee/export', method: 'POST', data: data }, true, true, false)
}

// 机构人员绑定和解绑展业权限
export const $apiAgentEmployeeBindBusinessPermission = (data) => {
  return request.request({ url: '/api/agent/employee/bindBusinessPermission', method: 'POST', data: data }, true, true, false)
}

// 选择用户开启客户经理权限
export const $getFansInfoForEmployee = (data : any) => {
  return request.request({
    url: '/api/agent/employee/getFansInfo',
    method: 'POST',
    data
  })
}
